package com.yy.QSManage.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LocalBaseMapper<T> extends BaseMapper<T> {
    /**
     * 分页
     * @param page
     * @param query
     * @return
     */
    IPage<T> page(@Param("page") Page page, @Param("query") T query);
}
